/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import java.util.Random;
import javax.inject.Named;
import javax.enterprise.context.ApplicationScoped;

/**
 *
 * @author damfercer
 */
@Named(value = "polaroidBean")
@ApplicationScoped
public class PolaroidBean {

    /**
     * Creates a new instance of PolaroidBean
     */
    public PolaroidBean() {
    }
    
    public Integer getRandomRotation(){
        Random random=new Random();    
        return random.nextInt(10);
    }
    
    public Integer getRandomTextAlign(){
        Random random=new Random();    
        return random.nextInt(2);
    }
}
